<template>
  <el-container style="position: absolute">
    <el-aside width="200px">
      <sidemenu/>
    </el-aside>

    <el-container>
      <el-header>
        <Header/>
      </el-header>

      <el-main>
        <Tabs></Tabs>
        <div style="margin: 15px 20px">
          <router-view/>
        </div>
      </el-main>
    </el-container>
  </el-container>
</template>

<script>
import SideMenu from "./inc/SideMenu";
import Header from "./inc/Header";
import Tabs from "./inc/Tabs";

export default {
  name: "Home",

  components: {
    sidemenu: SideMenu,
    Header,
    Tabs,
  },

  props: {},

  data() {
    return {
      userInfo: {
        id: "",
        username: "",
        avatar: "",
      },
    };
  },

  created() {
  },

  methods: {},
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style>
.el-dropdown-link {
  cursor: pointer;
}

.el-container {
  padding: 0;
  margin: 0;
  height: 100%;
  width: 100%;
}

.el-header,
.el-footer {
  background-color: #313131;
  color: #ffffff;
  text-align: center;
  line-height: 60px;
}

.el-aside {
  background-color: #000000;
  color: #ffffff;
  line-height: 200px;
}

.el-main {
  padding: 0px;
}

.el-container:nth-child(5) .el-aside,
.el-container:nth-child(6) .el-aside {
  line-height: 260px;
}

.el-container:nth-child(7) .el-aside {
  line-height: 320px;
}

/* .el-menu-vertical-demo {
  background-color: #eeebf3;
  height: 100%;
} */

a {
  text-decoration: none;
}

.router-link-active {
  text-decoration: none;
}
</style>
